package main;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;

import main.listeners.PaintHandler;



@SuppressWarnings("serial")
public class PaintClass extends Canvas {
	
	
	
	
	@Override
	public void paint(Graphics g) {
		if(PaintHandler.toPaint == null) {
			return;
		}
		PaintHandler.toPaint.onRepaint(g);
		System.out.println("Painted");
	}
	
	

	
	
	
	
	

}
